'''
Created on 13/06/2010

@author: Will
'''
from realObject import RealObject

class DecalObject(RealObject):
    
    def __init__(self,x,y,rot,lifetime):
        RealObject.__init__(self, x, y, rot, "decal.png", None, 0)
        self.life = lifetime
        
        
        
    
    def tick(self):
        
        self.life = self.life - 1
        if self.life < 0:
            self.dead = True